package com.cf.api.service;

import com.md.drcs.dicom.dto.UserPatientDTO;
import com.md.drcs.dicom.req.StudyCollectGroupReq;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public interface StudyGenService {

    void generateStudy(LocalDate date, int proportion);

    int getCtmr(LocalDateTime begin, LocalDateTime end);

    /**
     * 住院放射
     * @param begin
     * @param end
     * @return
     */
    int getHospCtmr(LocalDateTime begin, LocalDateTime end);

    /**
     * 非住院超声
     * @param begin
     * @param end
     * @return
     */
    int getUs(LocalDateTime begin, LocalDateTime end);

    /**
     * 住院超声
     * @param begin
     * @param end
     * @return
     */
    int getHospUs(LocalDateTime begin, LocalDateTime end);


    /**
     * 住院内镜
     * @param begin
     * @param end
     * @return
     */
    int getEs(LocalDateTime begin, LocalDateTime end);

    /**
     * 全部内镜
     * @param begin
     * @param end
     * @return
     */
    int getHospEs(LocalDateTime begin, LocalDateTime end);

    /**
     * 检验
     * @param begin
     * @param end
     * @return
     */
    int getJy(LocalDateTime begin, LocalDateTime end);

    List<UserPatientDTO> getStudyCollectGroup(StudyCollectGroupReq req);

}
